package com.anasoft.os.s4j;

import org.openqa.selenium.server.RemoteControlConfiguration;
import org.openqa.selenium.server.SeleniumServer;

/**
 * Listener which gets notified of events related to the embedded Selenium
 * server.
 * 
 * @see SeleniumRunnerLogic
 * 
 * @author vojtech.szocs
 */
public interface EmbeddedSeleniumServerListener {

    /**
     * Called before a new {@link SeleniumServer} is started.
     * 
     * @param rcConfig {@link SeleniumServer} configuration.
     */
    void beforeServerStarted(RemoteControlConfiguration rcConfig);

}
